﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace BankingApp.Models
{
    public class UserAccountViewModel
    {
        public string Name { get; set; }
        [Required]
        public int AccountNumber { get; set; }

        public DateTime? LogInDate { get; set; }
        [Required]
        public int BankBalance { get; set; }
        public string UserLoginId { get; set; }

    }

    public class UserAccountListViewModel
    {
        public List<UserAccountViewModel> Accounts { get; set; }

        public string UserName { get; set; }

        public int AccountNumber { get; set; }

        public DateTime? LogInDate { get; set; }

        public int BankBalance { get; set; }

    }
}